import request from '@/utils/request';

/**
 * 库存报表
 * @param {*} params 
 */
export async function getGoodsStockReportList(params) {
  return request('/reportForms/getGoodsStockReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 导出库存报表
 * @param {*} params 
 */
export async function exportGoodsStockReportList(params) {
  return request('/reportForms/exportGoodsStockReportList', {
    method: 'POST',
    data: { ...params }
  });
}

/**
 * 根据用户信息查询场馆List
 * @param {*} params 
 */
export async function fetchShopList(params) {
  return request('/venueInfo/queryVenueInfoListByUserId', {
    method: 'POST',
    requestType:'form',
    data: { ...params },
  });
}

/**
 * 出入库记录
 * @param {*} params 
 * @returns 
 */
export async function merchandiseRecords(params) {
  return request('/merchandise/records/list', {
    method: 'POST',
    data: { ...params }
  });
}
